﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SlaughterItem.Common.Domains.RBAC
{
    /// <summary>
    /// 角色表
    /// </summary>
    public class Roles
    {
        /// <summary>
        /// 角色主键
        /// </summary>
        [Key]
        public int RolesId { get; set; }

        /// <summary>
        /// 角色名称
        /// </summary>
        public string RolesName { get; set; }

        /// <summary>
        /// 权限（外键）
        /// </summary>
        public int PermissionsId { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool RolesIsDel {  get; set; }
    }
}
